<?php

class PublicTimelineResource extends SResource
{
    public function get()
    {
        $statuses = Status::$objects->limit(20)->order_by('-timestamp');
        $this->responds($statuses, 200);    
    }
}

?>